//
//  JWSound.h
//  KotH
//
//  Created by James Weatherley on 14/01/2010.
//  Copyright 2010 James Weatherley. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVAudioPlayer.h>

@interface JWSound : NSObject <AVAudioPlayerDelegate> {

	NSMutableDictionary* sounds;
	BOOL mute;
}

+(JWSound*)soundManager;
-(void)playSound:(NSString*)sound;
-(BOOL)playingSound:(NSString*)sound;
-(void)stopSound:(NSString*)sound;
-(void)stopAllSounds;
-(void)muteSounds:(BOOL)m;
-(BOOL)muted;


@end
